#Entry可以输入单行文本
from tkinter import *
root = Tk()
frame = Frame(root)
data = StringVar()
label = Label(frame,textvariable=data) 
#entry = Entry(frame,textvariable=data)
label.pack()
#entry.pack()
frame.pack()
root.mainloop()
